import FrontHome from "../layout/FrontHome.vue";

export default {
    path: "/",
    name: "Home",
    redirect: "/frontHome",
    component: FrontHome,
    children: [
        {
            path: "/frontHome",
            name: "frontHome",
            meta: {
                title: '首页',
            },
            component: () => import ( /* webpackChunkName: "front" */ "../viewFronts/Home.vue")
        },
        {
            path: "/goodInfo",
            name: "goodInfo",
            meta: {
                title: '详情',
            },
            component: () => import ( /* webpackChunkName: "front" */ "../viewFronts/GoodInfo.vue")
        },
        {
            path: "/comments",
            name: "comments",
            meta: {
                title: '用户好评',
            },
            component: () => import ( /* webpackChunkName: "front" */ "../viewFronts/Comments.vue")
        }
    ]
}
